package com.mxsoft.ssmdemo.mapper;

import com.mxsoft.ssmdemo.model.Foo;

import java.util.List;

/**
 * @author zhangyingxuan
 */
public interface FooMapper {
    int insert(Foo foo);
    int update(Foo foo);
    int delete(Long id);

    List<Foo> findAll();

    Foo findById(Long id);
}
